#ifndef RSUCTRLFACTORY_H
#define RSUCTRLFACTORY_H

#include <QObject>
#include "basersuctrl.h"
#include <QMap>
#include "rsuctrl.h"

class RsuCtrlFactory
{
public:
    static BaseRsuCtrl *getDev(int id, const QString &sDevType);
    static void releaseDev(BaseRsuCtrl *pDev);

protected:
    static QMap<int, BaseRsuCtrl *> m_DevMap;
};

#endif // RSUCTRLFACTORY_H
